<ul class="market-dates-warp" id="cont">

</ul>

<script type="text/template" id="temp">
	{%for(var i = 0;i<data.length;i++){%} 
		<li class="gupian" data_code="{%=data[i].code%}">
		<a href="web/transaction/k_line/k_line.html?code={%=data[i].code%}">
			<span class="name">
				{%=data[i].name%}
			</span>

			<span class="price">
				{%=Number(data[i].price).toFixed(4) %}
			</span>
			{%if(data[i].change>=0){%}
				<span class="upcolor">
					{%=data[i].changePercentage%}
				</span>
			{%}else{%}
				<span class="downcolor">
					{%=data[i].changePercentage%}
				</span>
			{%}%}
				
		</a>
		</li>
		{%}%}

</script>

<ul class="market-dates-warp" id="cont_timeData"></ul>

	<script type="text/template" id="temp_timeData">
	{%for(var i = 0; i<data.length;i++){%}
		<li class="gupian" data_code='{%=data[i].mark%}'>
			<a href="web/transaction/k_line/k_line.html?code={%=data[i].mark%}">
				<span class="name">{%=data[i].mark%}/USDT</span>
				<span class="price">{%=data[i].price%}</span>
				
				{%if(data[i].change>=0){%}
					<span class="upcolor">{%=data[i].changePercentage%}</span>
				{%}else{%}
				<span class="downcolor">{%=data[i].changePercentage%}</span>
				{%}%}
				
			</a>
		</li>
	{%}%}
	</script>
<ul class="market-dates-warp" id="cont_raiseData"></ul>
<script type="text/template" id="temp_raiseData">
{%for(var i =0; i<data.length;i++){%}

	<li class="gupian">
		<a href="transaction2.html?code={%=data[i].mark%}">
		<!--<a href="javascript:;">-->
			<span class="name">{%=data[i].mark%}/USDT</span>
			<span class="price">{%=data[i].price%}</span>
			{%if(data[i].state == 1){%}
			<span class="downcolor iscan">即将开售</span>
			{%}else if(data[i].state == 2){%}
			<span class="downcolor iscan">立即抢筹</span>
			{%}else if(data[i].state == 3){%}
			<span class="downcolor nocan">已结束</span>
			{%}else{%}
			<span class="downcolor">--</span>
			{%}%}
		</a>
	</li>
{%}%}
</script>
<div style="height:1.5rem;"></div>